package cn.wk.basic.utils;


import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageBean<T> {
    private Long totals;     //总条数

    private List<T> data = new ArrayList<>();  //数据

    public PageBean(Long totals, List<T> data) {
        this.totals = totals;
        this.data = data;
    }

    public PageBean() {
    }
}
